home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / u_man / cat3 / Tk / windowid.z / windowid
Encoding:
Text File  |  1998-10-30  |  9.5 KB  |  199 lines

  1.  
  2.  
  3.  
  4. TTTTkkkk____WWWWiiiinnnnddddoooowwwwIIIIdddd((((3333TTTTkkkk))))                                              TTTTkkkk____WWWWiiiinnnnddddoooowwwwIIIIdddd((((3333TTTTkkkk))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      Tk_WindowId, Tk_Parent, Tk_Display, Tk_DisplayName, Tk_ScreenNumber,
  10.      Tk_Screen, Tk_X, Tk_Y, Tk_Width, Tk_Height, Tk_Changes, Tk_Attributes,
  11.      Tk_IsMapped, Tk_IsTopLevel, Tk_ReqWidth, Tk_ReqHeight,
  12.      Tk_InternalBorderWidth, Tk_Visual, Tk_Depth, Tk_Colormap  - retrieve
  13.      information from Tk's local data structure
  14.  
  15. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  16.      ####iiiinnnncccclllluuuuddddeeee <<<<ttttkkkk....hhhh>>>>
  17.  
  18.      Window
  19.      TTTTkkkk____WWWWiiiinnnnddddoooowwwwIIIIdddd(_t_k_w_i_n)
  20.  
  21.      Tk_Window
  22.      TTTTkkkk____PPPPaaaarrrreeeennnntttt(_t_k_w_i_n)
  23.  
  24.      Display *
  25.      TTTTkkkk____DDDDiiiissssppppllllaaaayyyy(_t_k_w_i_n)
  26.  
  27.      char *
  28.      TTTTkkkk____DDDDiiiissssppppllllaaaayyyyNNNNaaaammmmeeee(_t_k_w_i_n)
  29.  
  30.      int
  31.      TTTTkkkk____SSSSccccrrrreeeeeeeennnnNNNNuuuummmmbbbbeeeerrrr(_t_k_w_i_n)
  32.  
  33.      Screen *
  34.      TTTTkkkk____SSSSccccrrrreeeeeeeennnn(_t_k_w_i_n)
  35.  
  36.      int
  37.      TTTTkkkk____XXXX(_t_k_w_i_n)
  38.  
  39.      int
  40.      TTTTkkkk____YYYY(_t_k_w_i_n)
  41.  
  42.      int
  43.      TTTTkkkk____WWWWiiiiddddtttthhhh(_t_k_w_i_n)
  44.  
  45.      int
  46.      TTTTkkkk____HHHHeeeeiiiigggghhhhtttt(_t_k_w_i_n)
  47.  
  48.      XWindowChanges *
  49.      TTTTkkkk____CCCChhhhaaaannnnggggeeeessss(_t_k_w_i_n)
  50.  
  51.      XSetWindowAttributes *
  52.      TTTTkkkk____AAAAttttttttrrrriiiibbbbuuuutttteeeessss(_t_k_w_i_n)
  53.  
  54.      int
  55.      TTTTkkkk____IIIIssssMMMMaaaappppppppeeeedddd(_t_k_w_i_n)
  56.  
  57.      int
  58.      TTTTkkkk____IIIIssssTTTTooooppppLLLLeeeevvvveeeellll(_t_k_w_i_n)
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. TTTTkkkk____WWWWiiiinnnnddddoooowwwwIIIIdddd((((3333TTTTkkkk))))                                              TTTTkkkk____WWWWiiiinnnnddddoooowwwwIIIIdddd((((3333TTTTkkkk))))
  71.  
  72.  
  73.  
  74.      int
  75.      TTTTkkkk____RRRReeeeqqqqWWWWiiiiddddtttthhhh(_t_k_w_i_n)
  76.  
  77.      int
  78.      TTTTkkkk____RRRReeeeqqqqHHHHeeeeiiiigggghhhhtttt(_t_k_w_i_n)
  79.  
  80.      int
  81.      TTTTkkkk____IIIInnnntttteeeerrrrnnnnaaaallllBBBBoooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh(_t_k_w_i_n)
  82.  
  83.      Visual *
  84.      TTTTkkkk____VVVViiiissssuuuuaaaallll(_t_k_w_i_n)
  85.  
  86.      int
  87.      TTTTkkkk____DDDDeeeepppptttthhhh(_t_k_w_i_n)
  88.  
  89.      Colormap
  90.      TTTTkkkk____CCCCoooolllloooorrrrmmmmaaaapppp(_t_k_w_i_n)
  91.  
  92. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  93.      Tk_Window   _t_k_w_i_n   (in)      Token for window.
  94.  
  95.  
  96. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  97.      TTTTkkkk____WWWWiiiinnnnddddoooowwwwIIIIDDDD and the other names listed above are all macros that return
  98.      fields from Tk's local data structure for _t_k_w_i_n.  None of these macros
  99.      requires any interaction with the server;  it is safe to assume that all
  100.      are fast.
  101.  
  102.      TTTTkkkk____WWWWiiiinnnnddddoooowwwwIIIIdddd returns the X identifier for _t_k_w_i_n, or NNNNUUUULLLLLLLL if no X window
  103.      has been created for _t_k_w_i_n yet (see the TTTTkkkk____CCCCrrrreeeeaaaatttteeeeMMMMaaaaiiiinnnnWWWWiiiinnnnddddoooowwww manual entry
  104.      for details).
  105.  
  106.      TTTTkkkk____PPPPaaaarrrreeeennnntttt returns Tk's token for the logical parent of _t_k_w_i_n.  The parent
  107.      is the token that was specified when _t_k_w_i_n was created, or NULL for main
  108.      windows.
  109.  
  110.      TTTTkkkk____DDDDiiiissssppppllllaaaayyyy returns a pointer to the Xlib display structure corresponding
  111.      to _t_k_w_i_n.  TTTTkkkk____DDDDiiiissssppppllllaaaayyyyNNNNaaaammmmeeee returns an ASCII string identifying _t_k_w_i_n's
  112.      display.  TTTTkkkk____SSSSccccrrrreeeeeeeennnnNNNNuuuummmmbbbbeeeerrrr returns the index of _t_k_w_i_n's screen among all
  113.      the screens of _t_k_w_i_n's display.  TTTTkkkk____SSSSccccrrrreeeeeeeennnn returns a pointer to the Xlib
  114.      structure corresponding to _t_k_w_i_n's screen.
  115.  
  116.      TTTTkkkk____XXXX, TTTTkkkk____YYYY, TTTTkkkk____WWWWiiiiddddtttthhhh, and TTTTkkkk____HHHHeeeeiiiigggghhhhtttt return information about _t_k_w_i_n'_s
  117.      location within its parent and its size.  The location information refers
  118.      to the upper-left pixel in the window, or its border if there is one.
  119.      The width and height information refers to the interior size of the
  120.      window, not including any border.  TTTTkkkk____CCCChhhhaaaannnnggggeeeessss returns a pointer to a
  121.      structure containing all of the above information plus a few other
  122.      fields.  TTTTkkkk____AAAAttttttttrrrriiiibbbbuuuutttteeeessss returns a pointer to an XSetWindowAttributes
  123.      structure describing all of the attributes of the _t_k_w_i_n's window, such as
  124.      background pixmap, event mask, and so on (Tk keeps track of all this
  125.      information as it is changed by the application).  Note: it is essential
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. TTTTkkkk____WWWWiiiinnnnddddoooowwwwIIIIdddd((((3333TTTTkkkk))))                                              TTTTkkkk____WWWWiiiinnnnddddoooowwwwIIIIdddd((((3333TTTTkkkk))))
  137.  
  138.  
  139.  
  140.      that applications use Tk procedures like TTTTkkkk____RRRReeeessssiiiizzzzeeeeWWWWiiiinnnnddddoooowwww instead of X
  141.      procedures like XXXXRRRReeeessssiiiizzzzeeeeWWWWiiiinnnnddddoooowwww, so that Tk can keep its data structures
  142.      up-to-date.
  143.  
  144.      TTTTkkkk____IIIIssssMMMMaaaappppppppeeeedddd returns a non-zero value if _t_k_w_i_n is mapped and zero if _t_k_w_i_n
  145.      isn't mapped.
  146.  
  147.      TTTTkkkk____IIIIssssTTTTooooppppLLLLeeeevvvveeeellll returns a non-zero value if _t_k_w_i_n is a top-level window
  148.      (its X parent is the root window of the screen) and zero if _t_k_w_i_n isn't a
  149.      top-level window.
  150.  
  151.      TTTTkkkk____RRRReeeeqqqqWWWWiiiiddddtttthhhh and TTTTkkkk____RRRReeeeqqqqHHHHeeeeiiiigggghhhhtttt return information about the window's
  152.      requested size.  These values correspond to the last call to
  153.      TTTTkkkk____GGGGeeeeoooommmmeeeettttrrrryyyyRRRReeeeqqqquuuueeeesssstttt for _t_k_w_i_n.
  154.  
  155.      TTTTkkkk____IIIInnnntttteeeerrrrnnnnaaaallllBBBBoooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh returns the width of internal border that has been
  156.      requested for _t_k_w_i_n, or 0 if no internal border was requested.  The
  157.      return value is simply the last value passed to TTTTkkkk____SSSSeeeettttIIIInnnntttteeeerrrrnnnnaaaallllBBBBoooorrrrddddeeeerrrr for
  158.      _t_k_w_i_n.
  159.  
  160.      TTTTkkkk____VVVViiiissssuuuuaaaallll, TTTTkkkk____DDDDeeeepppptttthhhh, and TTTTkkkk____CCCCoooolllloooorrrrmmmmaaaapppp return information about the visual
  161.      characteristics of a window.  TTTTkkkk____VVVViiiissssuuuuaaaallll returns the visual type for the
  162.      window, TTTTkkkk____DDDDeeeepppptttthhhh returns the number of bits per pixel, and TTTTkkkk____CCCCoooolllloooorrrrmmmmaaaapppp
  163.      returns the current colormap for the window.  The visual characteristics
  164.      are normally set from the defaults for the window's screen, but they may
  165.      be overridden by calling TTTTkkkk____SSSSeeeettttWWWWiiiinnnnddddoooowwwwVVVViiiissssuuuuaaaallll.
  166.  
  167.  
  168. KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  169.      attributes, colormap, depth, display, height, geometry manager,
  170.      identifier, mapped, requested size, screen, top-level, visual, width,
  171.      window, x, y
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.